<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="/views/common/resources.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<html style="height:100%;">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>题库管理</title>
	<script src="<%=basePath%>resources/js/common/main/global.js"></script>
	<script src="<%=basePath%>resources/js/common/main/nav.js"></script>
	<script src="<%=basePath%>resources/js/system/question/question.js"></script>
	
	<style type="text/css"> 
		.side {width: 120px; float: left; border:1px solid #99FF99;} 
		.side1 {width: 200px; float: left; border:1px solid #99FF99;} 
		.active {color:red;}
		.modal-table{width:100%;}
		.modal-table tr{line-height:35px;}
		.modal-table th{width:20%;text-align:right;padding-right:20px;}
		.modal-table td{width:30%;}
		.updVehicleBtn{
		    height: 20px;
		    line-height: 20px;
		    background: #e77817;
		    border: none;
		    color: #fff;
		    margin-right: 5px;
		}
		#tbQuestions a{
			color:blue;
		}
		#answer,#question{
			border:none;
			border:1px solid #dedede;
		}
	</style> 
	
</head>
<body onkeydown="if(event.keyCode=='13'){toSearch();}" style="height:100%;">
	<div class="page">
		<div class=" clearfix">
			<div class="querys fl" id="tdiv">
				<div class="userResult">
					<div class="queryTable">
						<div style="float: left;width: 38%;margin-top:10px;border:1px dashed #d0d0d0;">
							<div style='background:#eee;text-align: center;'>
								<p style='line-height:26px;font-size:16px;height:26px'>题库设置</p>
							</div>
<!-- 							<table cellpadding="8" cellspacing="8"> -->
<!-- 								<tr> -->
<!-- 									<td>设置问题</td> -->
<!-- 									<td><input id="question" type="text"></td> -->
<!-- 								</tr> -->
<!-- 								<tr> -->
<!-- 									<td>答案</td> -->
<!-- 									<td><input id="answer" type="text"></td> -->
<!-- 								</tr> -->
<!-- 								<tr> -->
<!-- 									<td colspan="2"> -->
<!-- 										<input type="button" onclick="if(addQuestionBtn()==false) return false;" value="提交"> -->
<!-- 										<input type="button" onclick="reset()" value="清空"> -->
<!-- 									</td> -->
<!-- 								</tr> -->
<!-- 							</table> -->
							<form action="" class='queryForm' style='margin-top:40px'>
						        <div>
						            <label for="question" class="question">问题： </label>
						            <input type="text" name="" value="" id="question">
						        </div>
						        <div>
						            <label for="answer">答案： </label>
						            <input type="text" name="" value="" id="answer">
						        </div>
						        <div class="control-group " style='text-align:center;margin-bottom:40px'>
						            <input type="button" style='margin-right:30px' onclick="if(addQuestionBtn()==false) return false;" value="提交">
						            <input type="button" onclick="reset()" value="清空">
						        </div>
						    </form>
						</div>
						<div style="float: right;width: 60%;margin-top:10px">
							<div id="tbQuestions"></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>		